package com.xrui.hbase.exception;

import java.io.IOException;

/**
 * Thrown when an invalid table layout is encountered.  Possible reasons why a layout may be
 * invalid include:
 * <ul>
 *   <li>Invalid data schemas.</li>
 *   <li>Missing family or column names.</li>
 *   <li>The family or column ids were not assigned.</li>
 *   <li>The update layout is inconsistent with respect to a reference layout.</li>
 * </ul>
 */
public class InvalidLayoutException extends IOException {
    /**
     * Creates a new {@link InvalidLayoutException} with the specified reason.
     *
     * @param reason A message describing the reason the layout is invalid.
     */
    public InvalidLayoutException(String reason) {
        super(reason);
    }

}
